/**
 * 
 */
package com.misoo.ex06;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * @author daniel.chai
 * 
 */
public class DataModel {
	public DataModel() {

	}

	public ArrayList<Map<String, Object>> loadData() {
		ArrayList<Map<String, Object>> coll = new ArrayList<Map<String, Object>>();
		Map<String, Object> item;
		item = new HashMap<String, Object>();
		item.put("prod_na", "Linux");
		item.put("prod_type", "ST");
		coll.add(item);

		item = new HashMap<String, Object>();
		item.put("prod_na", "Windows");
		item.put("prod_type", "Mobile");
		coll.add(item);
		return coll;
	}
}
